package com.jian.mall.order.feign;

import com.jian.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("mall-member")
public interface MemberFeign {
    @GetMapping("/member/memberreceiveaddress/address/{userId}")
    R addressByUserId(@PathVariable("userId")Long userId); // key:"address"
}
